package com.kira.scaffoldmvc.Dubbo;

import org.springframework.stereotype.Service;


public interface MongoClient {

    public boolean delete(String id, String requestType);

    //requestType : 请求类型
    //data : 传输数据
    public String insert(String requestType, String data);//存储后会返回Mongodb的Id

    public String insert(String requestType, byte[] data);//存储后会返回Mongodb的Id

    public byte[] getBytes(String id, String requestType);

}
